package com.spx.egl;

import android.util.Log;

import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class VideoProcessConfig implements Serializable {
    public String srcMediaPath;
    public String outMediaPath;

    public List<GlFilterConfig> filterConfigList = new ArrayList<>();

    public VideoProcessConfig(String srcMediaPath, String outMediaPath) {
        this.srcMediaPath = srcMediaPath;
        this.outMediaPath = outMediaPath;
        File f= new File(outMediaPath);
        if (!f.exists()){
            try {
                f.createNewFile();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }

    public List<GlFilterConfig> getFilterConfigList() {
        return filterConfigList;
    }


}
